package main.java.FSMDE.infrastructure.visual;


import javax.swing.tree.DefaultMutableTreeNode;

import main.java.FSMDE.models.Component;


public class ComponentTreeNode extends DefaultMutableTreeNode {
	private static final long serialVersionUID = 1L;
	private Component component;

    public ComponentTreeNode(Component Component) {
        this.component = Component;
    }

    public Component getComponent() {
        return this.component;
    }

    @Override
    public String toString() {
        return component.toString();
    }
}
